package com.itheima.test01.service;

import com.itheima.test01.dao.IUserDao;
import com.itheima.test01.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserService implements IUserService{
    @Autowired
    IUserDao userDao;
    @Override
    public void getUser() {
        userDao.getUser();
    }

}
